#ifndef FILE_H
#define FILE_H

#include <QObject>

class File : public QObject
{
    Q_OBJECT
public:
    explicit File(QObject *parent = 0);

signals:

public slots:
    QString read(const QString &fileName);
    void write(const QString &fileName, const QString &data);
    QString b64Hex(const QString &fileName);
    QString readText(const QString &fileName, const QString &codecName);
    void writeText(const QString &fileName, const QString &data);

};

#endif // FILE_H
